﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MediatR_.MediatR_Notifications
{

    /// <summary>
    /// 目前这个不能用
    /// </summary>
    public class NotifiyHandle2: INotificationHandler<Notifiy>
    {
        public Task Handle(Notifiy notification, CancellationToken cancellationToken)
        {
            Console.WriteLine("NotifiyHandle2 执行2");
            return Task.CompletedTask;
        }
    }
}
